package com.cyq.dascma.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 成绩实体
 * dingwen
 * 2021/4/3 23:24
 **/
@Getter
@Setter
@ToString
@ApiModel(description = "成绩信息")
@TableName("dasc_man_score")
public class Score implements Serializable {
    private static final long serialVersionUID = -3586765826758779931L;

    @ApiModelProperty(name = "scoreId")
    @TableId(value = "score_id")
    @TableField(value = "score_id")
    private String scoreId;

    @ApiModelProperty(name = "studentId")
    @TableField(value = "student_id")
    private String studentId;

    @ApiModelProperty(name = "courseId")
    @TableField(value = "course_id")
    private String courseId;

    @ApiModelProperty(name = "teacherId")
    @TableField(value = "teacher_id")
    private String teacherId;

    @ApiModelProperty(name = "scoreAttendance", value = "考勤成绩")
    @TableField(value = "score_attendance")
    private Double scoreAttendance;

    @ApiModelProperty(value = "scoreHomework", name = "作业成绩")
    @TableField(value = "score_homework")
    private Double scoreHomework;

    @ApiModelProperty(value = "scoreClazz", name = "平时上课成绩")
    @TableField(value = "score_clazz")
    private Double scoreClazz;

    @ApiModelProperty(value = "scoreMiddle", name = "期中成绩")
    @TableField(value = "score_middle")
    private Double scoreMiddle;

    @ApiModelProperty(value = "scoreEnd", name = "期末成绩")
    @TableField(value = "score_end")
    private Double scoreEnd;

    @ApiModelProperty(value = "scoreFinal", name = "最终成绩")
    @TableField(value = "score_final")
    private Double scoreFinal;

}
